package com.seari.utils;

import java.util.UUID;

public class IdUtils {
    public static String getId(){
        String primatryId = UUID.randomUUID().toString().replace("-","");
        String mili = System.nanoTime()+"";  //纳秒
        mili = mili.substring(mili.length()-6,mili.length());
        return primatryId+mili;
    }
}
